//
//  WaterFlowLayout.h
//  UICollectionDemo_01
//
//  Created by runlhy on 16/6/16.
//  Copyright © 2016年 runlhy. All rights reserved.
//

#import <UIKit/UIKit.h>
extern const CGFloat defaultColumnMargin;
extern const CGFloat defaultRowMargin;
extern UIEdgeInsets defaultEdgeInsets;
extern NSInteger defaultColumnCount;
@interface WaterFlowLayout : UICollectionViewFlowLayout
/** 当前高度 */
@property (nonatomic, assign) CGFloat sectionHeight;

/** 存放所有cell的布局属性 */
@property (nonatomic, strong) NSMutableArray<UICollectionViewLayoutAttributes *> *attrsArray;

/** collection滚动高度 */
@property (nonatomic, assign) CGFloat maxHeight;

/** 当前最大y */
@property (nonatomic, assign) CGFloat maxSectionHeight;


@end
